﻿package mortal.game.view.mainUI.avatar
{
    import extend.language.*;
    import flash.events.*;
    import mortal.game.scene3D.player.info.*;
    import mortal.game.view.common.menu.*;

    public class MercenaryAvatar extends PlayerAvatar
    {

        public function MercenaryAvatar()
        {
            return;
        }// end function

        override protected function addLookPlayerBtn() : void
        {
            return;
        }// end function

        override public function updateName(event:Event = null) : void
        {
            _name.text = Language.getString(35359) + _entityInfo.entityInfo.name;
            return;
        }// end function

        override public function updateEntity(param1:EntityInfo) : void
        {
            super.updateEntity(param1);
            PlayerMenuRegister.UnRegister(_bgSprite);
            return;
        }// end function

    }
}
